package com.eiisan.web.feign;

import com.alibaba.fastjson.JSONObject;
import com.eiisan.base.constant.EiisanServiceList;
import com.eiisan.core.util.api.Result;
import com.eiisan.web.model.dto.PayCratePayTokenDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = EiisanServiceList.EIISAN_SERVICE_PAY)
public interface PayMentTransacTokenClientApi {

    @GetMapping("/cratePayToken")
    Result<JSONObject> cratePayToken(@RequestParam PayCratePayTokenDto payCratePayTokenDto);
}
